home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 036a / katcal.zip / KATCALC.HLP (.txt) < prev    next >
OS/2 Help File  |  1990-05-13  |  19KB  |  478 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Uses of KATCalc ΓòÉΓòÉΓòÉ
  3.  
  4. KATCalc is a programmable, graphing calculator for the OS/2 Presentation 
  5. Manager. It performs most trigonometric functions including cosine, sine, and 
  6. tangent. Also available are many programmer functions including hexadecimal 
  7. arithmetic, and decimal-hexadecimal conversions. 
  8.  
  9. For information on registering your copy of KATCalc please see the topic 
  10. Ordering KATCalc 
  11.  
  12. You should see the main KATCalc calculator body window and its two control 
  13. windows. To the left of KATCalc is its memory storage window. You may store one 
  14. value in each of the ten register entryfields. To put a value into memory push 
  15. the <MIn> button on the calculator. Next mouse over to the memory window and 
  16. push the button next to the entryfield you wish to fill. Since these are 
  17. entryfields you may also type directly into them. To use the values press the 
  18. <MOut> button and then push the memory register button whose value you want. 
  19. This number is then placed in the calculator's display. 
  20.  
  21. To the calculator's right is its ticker-tape window. This is a "hard-copy" of 
  22. all your calculations. It has resizable borders if you wish to see more or 
  23. less. Scroll bars allow traverse through the tape. 
  24.  
  25. You may erase the contents of either of these two windows. To reset all of the 
  26. memory registers to zero push the <MC> button. The <TC> button erases the 
  27. ticker-tape window. 
  28.  
  29. Most of the buttons on KATCalc should would as you would expect. A few 
  30. explanations follow. 
  31.  
  32. The <Prog> button will create a window with your current program list. This new 
  33. window has choices of Create, Delete, Edit, Help, Rename and Run. For more 
  34. information see the topic  Program Listing 
  35.  
  36. The <Graph> button is used to graph a function. A dialog box will pop-up asking 
  37. for the function and its domain. For more help see the topic  Graphing a 
  38. Function 
  39.  
  40. The <Hex> button will allow hexadecimal calculations. The <Dec> button will 
  41. return to decimal mode. 
  42.  
  43. The <> button functions as a backspace. 
  44.  
  45.  
  46. ΓòÉΓòÉΓòÉ 2. Ordering KATCalc ΓòÉΓòÉΓòÉ
  47.  
  48. KATCalc is distributed by shareware. This means you may freely pass this 
  49. program, in its entirety, to your friends and associates. They must, however, 
  50. register their respective copies if they intend to use the calculator. 
  51.  
  52. The price of registering KATCalc is $30.00 U.S. funds. 
  53.  
  54. If you are a Texas resident please add $1.80 for Texas State Sales Tax. 
  55.  
  56. Please make a check or money order payable to The KAT Works. Send your payment, 
  57. name, and mailing address to : 
  58.  
  59.   The KAT Works
  60.   PO Box 820748
  61.   North Richland Hills, TX 76118-0748
  62.  
  63. Your registration fee allows you 
  64.  
  65.   1. free technical support for KATCalc via mail correspondence, 
  66.  
  67.   2. notification of KATCalc software updates 
  68.  
  69.   3. notification of new products from The KAT Works at reduced prices 
  70.  
  71.  After you register your copy of KATCalc make as many backup copies of KATCalc 
  72.  as you need. You may also copy KATCalc to all of your personal computers. If 
  73.  you have a desktop and a portable please feel free to make use of KATCalc on 
  74.  both of them. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 3. Creating and Editing a Program ΓòÉΓòÉΓòÉ
  78.  
  79. KATCalc's language consists of the mathematical manipulation and comparing of 
  80. internal registers.  The registers you use in your program are numbered R0 
  81. through R19.  These twenty registers are internal to the program and do not 
  82. change the values in the calculator's memory window. 
  83.  
  84. Why would you want to progarm? A program is good for a repeated number of 
  85. calculations that can be made easier by prompts to automatic calculations. For 
  86. example, a person could run a program that asks for an angle in degrees and 
  87. gets back that angle in radians. A rather simple example but the theory is 
  88. sound. A program should make a person's life easier by saving him time and 
  89. effort. There are several demo programs that come with KATCalc. Edit them to 
  90. get inspiration and ideas for what constitutes a program. 
  91.  
  92. Following this is a the list of the function you may use in writing a program. 
  93. In the syntax of the functions the following symbols are used: 
  94.  
  95.      <char>    a single character
  96.                   ex. A, k, 1, @, ", 
  97.  
  98.      <regxx>   the value in this particular memory register
  99.  
  100.      <string>  a character, word, or sentence
  101.                   ex. Now is the time
  102.                       A
  103.                       123.55 is the purchase cost!
  104.  
  105.      <float>   a floating point number
  106.                   ex. -123.44
  107.                       +123.45492
  108.                       .12345
  109.  
  110. The programming functions are: 
  111.  
  112. * Comment Code 
  113.  
  114. A programmer's comment. The asterisk must be the first character in the line. 
  115. None of the text following the asterisk is executed. 
  116.  
  117. : Define Label 
  118.  
  119. Declares a label. Any characters may be used, but the first colon is not part 
  120. of the label. Also the label is case-insensitive so Begin, BEGin, and bEgIn are 
  121. the same. Spaces are not allowed in the label; for clarity try the underscore 
  122. character. 
  123.  
  124.    :Initialize
  125.    :BEGIN
  126.    :Loop1
  127.    :loop_for_printing_response
  128.    :ERROR!!!
  129.  
  130. ADD Addition 
  131.  
  132. You may add two memory registers together, or add a value to a register. 
  133. Examples of the two possiblites are: 
  134.  
  135.    ADD   R1, R2         <reg1> = <reg1> plus <reg2>
  136.    ADD   R1, 339.23     <reg1> = <reg1> plus <float>
  137.  
  138. CLRM Clear Memory 
  139.  
  140. Set all of the memory registers to zero. 
  141.  
  142.    CLRM
  143.  
  144. CLRS Clear Screen 
  145.  
  146. The output window is immediately cleared. 
  147.  
  148.    CLRS
  149.  
  150. DIV Division 
  151.  
  152. You may divide a memory register into another, or divide a register by a value. 
  153.  
  154.    DIV   R0, R19        <reg0> = <reg0> ╨Ä <reg19>
  155.    DIV   R0, 56         <reg0> = <reg0> ╨Ä <float>
  156.  
  157. J Jump 
  158.  
  159. Unconditionaly execute another part of this program by jumping to a label. 
  160.  
  161.    J   Quit             jump to <string>
  162.  
  163. JE Jump if Equal 
  164.  
  165. Compare a register with another register or a value, if they are equal then 
  166. jump to a label. 
  167.  
  168.    JE   R1, R2, BEGIN   if <reg1> = <reg2> jump to <string>
  169.    JE   R1, 23, BEGIN   if <reg1> = <float> jump to <string>
  170.  
  171. JG Jump if Greater 
  172.  
  173. Compare a register with another register or a value, if the first register is 
  174. greater then jump to a label. 
  175.  
  176.    JG   R0, R13, QUIT   if <reg0> > <reg13> jump to <string>
  177.    JG   R0, 1.3, INIT   if <reg0> > <float> jump to <string>
  178.  
  179. JL Jump if Less 
  180.  
  181. Compare a register with another register or a value, if the first register is 
  182. less then jump to a label. 
  183.  
  184.    JL   R4, R3, Done    if <reg4> < <reg3> jump to <string>
  185.    JL   R2, 39, loop_1  if <reg2> < <float> jump to <string>
  186.  
  187. LN Natural Logarithm 
  188.  
  189. Return the logarithm base 2 of the number in a register. 
  190.  
  191.    LN   R0              <reg0> = Log2<reg0>
  192.  
  193. LOG Logarithm Base 10 
  194.  
  195. Return the lagarithm base 10 of the number in a register. 
  196.  
  197.    LOG   R0             <reg0> = Log10<reg0>
  198.  
  199. MOV Move 
  200.  
  201. Move the contents of a register or a value into a memory register. 
  202.  
  203.    MOV   R1, R5         <reg1> = <reg5>
  204.    MOV   R10, 783.2     <reg10> = <float>
  205.  
  206. MUL Multiplication 
  207.  
  208. Multiply a register by the contents of another register or a value. 
  209.  
  210.    MUL   R3, R12        <reg3> = <reg3> * <reg12>
  211.    MUL   R3, 893        <reg3> = <reg3> * <float>
  212.  
  213. POW Exponential 
  214.  
  215. Raise a register to the power of another register or a value. 
  216.  
  217.    POW   R1, R2         <reg1> = <reg1> to the power of <reg2>
  218.    POW   R1, 3          <reg1> = <reg1> to the power ot <float>
  219.  
  220. RD Read 
  221.  
  222. Read a value and place it into a memory register. If the input was a character 
  223. or symbol the  ASCII value of that character is placed into the register. 
  224.  
  225.    RD   R15             <reg15> = <float> or <char>
  226.  
  227. SUB Subtraction 
  228.  
  229. Subtract a register from another register, or subtract a value from a register. 
  230.  
  231.    SUB   R1, R2         <reg1> = <reg1> - <reg2>
  232.    SUB   R1, 23421      <reg1> = <reg1> - <float>
  233.  
  234. WD Write to Device 
  235.  
  236. Writes the contents of a <reg> or a <string> to the output window. Examples 
  237.  
  238.    WD R0
  239.    WD R1
  240.    WD [A] for choice alpha
  241.    WD Relate this to him!
  242.  
  243.  
  244. ΓòÉΓòÉΓòÉ 4. Graphing a Function ΓòÉΓòÉΓòÉ
  245.  
  246. Enter  a  function  involving  X  in  the  ╨» ( x )  entryfield .  Your 
  247. function  may  contain  the  following  arithmetical  operations : 
  248.  
  249.  +    Addition 
  250.  
  251.  -    Subtraction 
  252.  
  253.  *    Multiplication 
  254.  
  255.  /    Division 
  256.  
  257.  sqrt   The  square  root  of  X 
  258.  
  259.  ^    Exponential 
  260.  
  261.  ~  ( tilde )   The  opposite  of 
  262.  
  263.  (  )   Parens  -  order  of  precedence 
  264.  
  265.  The  following  trig  functions  may  also  be  used : 
  266.  
  267.  cos   The  cosine  of  X 
  268.  
  269.  sin   The  sine  of  X 
  270.  
  271.  tan   The  tangent  of  X 
  272.  
  273.  Keep  the  following  rules  in  mind  when  composing  a  function : 
  274.  
  275.   1 . The  functions  and  operations  listed  above  may  be  freely  mixed 
  276.      in  an  equaltion . 
  277.  
  278.   2 . Please  be  sure  to  explicitly  list  the  multiplication  symbol . 
  279.  
  280.                   5 * X  not  5X
  281.  
  282.   3. Parens may be used at will to denote the precedence of your function. As 
  283.      you would guess please be sure to match an open paren with a close paren. 
  284.  
  285.   4. The only variable you may use is X. The domain of X is described in the 
  286.      three entryfields Start, End, By  under the Domain heading of the dialog 
  287.      box. 
  288.  
  289.   5. The physical dimensions of the window provide for the Y-Axis to have 
  290.      coordinates from 78 to -78 and the X-axis from -100 to 100. Using the Zoom 
  291.      factor you can effectivly increase, or decrease, these dimensions. As you 
  292.      increase the number in Zoom you decrease the dimensions of the axis, 
  293.      likewise the smaller the number the larger the dimensions of the axis. 
  294.  
  295.  Some examples of graphing functions: 
  296.  
  297.        X^2                X squared
  298.        X^3                X cubed
  299.        X^.5               the square root of X
  300.        sin(x + 1)         the sine of the quantity X plus one
  301.        sin(x) + 1         the sine of X, plus one
  302.        cosx * (x + 1)     the cosine of X, times the quantity X plus one
  303.  
  304.  When you have generated a graph you like you may "rip-off" the graph by 
  305.  positioning your mouse pointer over the display window and pressing the left 
  306.  button down. You may now grab and pull the window to a clear position on the 
  307.  desktop. Releasing the left mouse button drops the window. 
  308.  
  309.  You may change any of the graph's attributes by double-clicking the left mouse 
  310.  button on the graph window. The Graph ╨»(x) dialog will appear. Make any 
  311.  changes you want, press the graph button, and the graph will change 
  312.  accordingly. 
  313.  
  314.  
  315. ΓòÉΓòÉΓòÉ 5. The ASCII Chart ΓòÉΓòÉΓòÉ
  316.  
  317.  
  318.    Dec   Hex  Ch      Dec   Hex  Ch     Dec   Hex  Ch      Dec   Hex  Ch
  319.  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ
  320.  Γöé   0 Γöé  0 Γöé   Γöé   Γöé  32 Γöé 20 Γöé   Γöé   Γöé  64 Γöé 40 Γöé @ Γöé   Γöé  96 Γöé 60 Γöé ` Γöé
  321.  Γöé   1 Γöé  1 Γöé  Γöé   Γöé  33 Γöé 21 Γöé ! Γöé   Γöé  65 Γöé 41 Γöé A Γöé   Γöé  97 Γöé 61 Γöé a Γöé
  322.  Γöé   2 Γöé  2 Γöé  Γöé   Γöé  34 Γöé 22 Γöé " Γöé   Γöé  66 Γöé 42 Γöé B Γöé   Γöé  98 Γöé 62 Γöé b Γöé
  323.  Γöé   3 Γöé  3 Γöé  Γöé   Γöé  35 Γöé 23 Γöé # Γöé   Γöé  67 Γöé 43 Γöé C Γöé   Γöé  99 Γöé 63 Γöé c Γöé
  324.  Γöé   4 Γöé  4 Γöé  Γöé   Γöé  36 Γöé 24 Γöé $ Γöé   Γöé  68 Γöé 44 Γöé D Γöé   Γöé 100 Γöé 64 Γöé d Γöé
  325.  Γöé   5 Γöé  5 Γöé  Γöé   Γöé  37 Γöé 25 Γöé % Γöé   Γöé  69 Γöé 45 Γöé E Γöé   Γöé 101 Γöé 65 Γöé e Γöé
  326.  Γöé   6 Γöé  6 Γöé  Γöé   Γöé  38 Γöé 26 Γöé & Γöé   Γöé  70 Γöé 46 Γöé F Γöé   Γöé 102 Γöé 66 Γöé f Γöé
  327.  Γöé   7 Γöé  7 Γöé  Γöé   Γöé  39 Γöé 27 Γöé ' Γöé   Γöé  71 Γöé 47 Γöé G Γöé   Γöé 103 Γöé 67 Γöé g Γöé
  328.  Γöé   8 Γöé  8 Γöé  Γöé   Γöé  40 Γöé 28 Γöé ( Γöé   Γöé  72 Γöé 48 Γöé H Γöé   Γöé 104 Γöé 68 Γöé h Γöé
  329.  Γöé   9 Γöé  9 Γöé   Γöé   Γöé  41 Γöé 29 Γöé ) Γöé   Γöé  73 Γöé 49 Γöé I Γöé   Γöé 105 Γöé 69 Γöé i Γöé
  330.  Γöé  10 Γöé  A Γöé   Γöé   Γöé  42 Γöé 2A Γöé * Γöé   Γöé  74 Γöé 4A Γöé J Γöé   Γöé 106 Γöé 6A Γöé j Γöé
  331.  Γöé  11 Γöé  B Γöé   Γöé   Γöé  43 Γöé 2B Γöé + Γöé   Γöé  75 Γöé 4B Γöé K Γöé   Γöé 107 Γöé 6B Γöé k Γöé
  332.  Γöé  12 Γöé  C Γöé   Γöé   Γöé  44 Γöé 2C Γöé , Γöé   Γöé  76 Γöé 4C Γöé L Γöé   Γöé 108 Γöé 6C Γöé l Γöé
  333.  Γöé  13 Γöé  D Γöé   Γöé   Γöé  45 Γöé 2D Γöé - Γöé   Γöé  77 Γöé 4D Γöé M Γöé   Γöé 109 Γöé 6D Γöé m Γöé
  334.  Γöé  14 Γöé  E Γöé  Γöé   Γöé  46 Γöé 2E Γöé . Γöé   Γöé  78 Γöé 4E Γöé N Γöé   Γöé 110 Γöé 6E Γöé n Γöé
  335.  Γöé  15 Γöé  F Γöé  Γöé   Γöé  47 Γöé 2F Γöé / Γöé   Γöé  79 Γöé 4F Γöé O Γöé   Γöé 111 Γöé 6F Γöé o Γöé
  336.  Γöé  16 Γöé 10 Γöé  Γöé   Γöé  48 Γöé 30 Γöé 0 Γöé   Γöé  80 Γöé 50 Γöé P Γöé   Γöé 112 Γöé 70 Γöé p Γöé
  337.  Γöé  17 Γöé 11 Γöé  Γöé   Γöé  49 Γöé 31 Γöé 1 Γöé   Γöé  81 Γöé 51 Γöé Q Γöé   Γöé 113 Γöé 71 Γöé q Γöé
  338.  Γöé  18 Γöé 12 Γöé  Γöé   Γöé  50 Γöé 32 Γöé 2 Γöé   Γöé  82 Γöé 52 Γöé R Γöé   Γöé 114 Γöé 72 Γöé r Γöé
  339.  Γöé  19 Γöé 13 Γöé  Γöé   Γöé  51 Γöé 33 Γöé 3 Γöé   Γöé  83 Γöé 53 Γöé S Γöé   Γöé 115 Γöé 73 Γöé s Γöé
  340.  Γöé  20 Γöé 14 Γöé  Γöé   Γöé  52 Γöé 34 Γöé 4 Γöé   Γöé  84 Γöé 54 Γöé T Γöé   Γöé 116 Γöé 74 Γöé t Γöé
  341.  Γöé  21 Γöé 15 Γöé  Γöé   Γöé  53 Γöé 35 Γöé 5 Γöé   Γöé  85 Γöé 55 Γöé U Γöé   Γöé 117 Γöé 75 Γöé u Γöé
  342.  Γöé  22 Γöé 16 Γöé  Γöé   Γöé  54 Γöé 36 Γöé 6 Γöé   Γöé  86 Γöé 56 Γöé V Γöé   Γöé 118 Γöé 76 Γöé v Γöé
  343.  Γöé  23 Γöé 17 Γöé  Γöé   Γöé  55 Γöé 37 Γöé 7 Γöé   Γöé  87 Γöé 57 Γöé W Γöé   Γöé 119 Γöé 77 Γöé w Γöé
  344.  Γöé  24 Γöé 18 Γöé  Γöé   Γöé  56 Γöé 38 Γöé 8 Γöé   Γöé  88 Γöé 58 Γöé X Γöé   Γöé 120 Γöé 78 Γöé x Γöé
  345.  Γöé  25 Γöé 19 Γöé  Γöé   Γöé  57 Γöé 39 Γöé 9 Γöé   Γöé  89 Γöé 59 Γöé Y Γöé   Γöé 121 Γöé 79 Γöé y Γöé
  346.  Γöé  26 Γöé 1A Γöé   Γöé   Γöé  58 Γöé 3A Γöé : Γöé   Γöé  90 Γöé 5A Γöé Z Γöé   Γöé 122 Γöé 7A Γöé z Γöé
  347.  Γöé  27 Γöé 1B Γöé  Γöé   Γöé  59 Γöé 3B Γöé ; Γöé   Γöé  91 Γöé 5B Γöé [ Γöé   Γöé 123 Γöé 7B Γöé { Γöé
  348.  Γöé  28 Γöé 1C Γöé  Γöé   Γöé  60 Γöé 3C Γöé < Γöé   Γöé  92 Γöé 5C Γöé \ Γöé   Γöé 124 Γöé 7C Γöé | Γöé
  349.  Γöé  29 Γöé 1D Γöé  Γöé   Γöé  61 Γöé 3D Γöé = Γöé   Γöé  93 Γöé 5D Γöé ] Γöé   Γöé 125 Γöé 7D Γöé } Γöé
  350.  Γöé  30 Γöé 1E Γöé  Γöé   Γöé  62 Γöé 3E Γöé > Γöé   Γöé  94 Γöé 5E Γöé ^ Γöé   Γöé 126 Γöé 7E Γöé ~ Γöé
  351.  Γöé  31 Γöé 1F Γöé  Γöé   Γöé  63 Γöé 3F Γöé ? Γöé   Γöé  95 Γöé 5F Γöé _ Γöé   Γöé 127 Γöé 7F Γöé  Γöé
  352.  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ
  353.  
  354.  
  355.    Dec   Hex  Ch      Dec   Hex  Ch     Dec   Hex  Ch      Dec   Hex  Ch
  356.  ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ   ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÉ
  357.  Γöé 128 Γöé 80 Γöé ╨É Γöé   Γöé 160 Γöé A0 Γöé ╨░ Γöé   Γöé 192 Γöé C0 Γöé Γöö Γöé   Γöé 224 Γöé E0 Γöé ╤Ç Γöé
  358.  Γöé 129 Γöé 81 Γöé ╨æ Γöé   Γöé 161 Γöé A1 Γöé ╨▒ Γöé   Γöé 193 Γöé C1 Γöé Γö┤ Γöé   Γöé 225 Γöé E1 Γöé ╤ü Γöé
  359.  Γöé 130 Γöé 82 Γöé ╨Æ Γöé   Γöé 162 Γöé A2 Γöé ╨▓ Γöé   Γöé 194 Γöé C2 Γöé Γö¼ Γöé   Γöé 226 Γöé E2 Γöé ╤é Γöé
  360.  Γöé 131 Γöé 83 Γöé ╨ô Γöé   Γöé 163 Γöé A3 Γöé ╨│ Γöé   Γöé 195 Γöé C3 Γöé Γö£ Γöé   Γöé 227 Γöé E3 Γöé ╤â Γöé
  361.  Γöé 132 Γöé 84 Γöé ╨ö Γöé   Γöé 164 Γöé A4 Γöé ╨┤ Γöé   Γöé 196 Γöé C4 Γöé ΓöÇ Γöé   Γöé 228 Γöé E4 Γöé ╤ä Γöé
  362.  Γöé 133 Γöé 85 Γöé ╨ò Γöé   Γöé 165 Γöé A5 Γöé ╨╡ Γöé   Γöé 197 Γöé C5 Γöé Γö╝ Γöé   Γöé 229 Γöé E5 Γöé ╤à Γöé
  363.  Γöé 134 Γöé 86 Γöé ╨û Γöé   Γöé 166 Γöé A6 Γöé ╨╢ Γöé   Γöé 198 Γöé C6 Γöé Γò₧ Γöé   Γöé 230 Γöé E6 Γöé ╤å Γöé
  364.  Γöé 135 Γöé 87 Γöé ╨ù Γöé   Γöé 167 Γöé A7 Γöé ╨╖ Γöé   Γöé 199 Γöé C7 Γöé Γòƒ Γöé   Γöé 231 Γöé E7 Γöé ╤ç Γöé
  365.  Γöé 136 Γöé 88 Γöé ╨ÿ Γöé   Γöé 168 Γöé A8 Γöé ╨╕ Γöé   Γöé 200 Γöé C8 Γöé ΓòÜ Γöé   Γöé 232 Γöé E8 Γöé ╤ê Γöé
  366.  Γöé 137 Γöé 89 Γöé ╨Ö Γöé   Γöé 169 Γöé A9 Γöé ╨╣ Γöé   Γöé 201 Γöé C9 Γöé Γòö Γöé   Γöé 233 Γöé E9 Γöé ╤ë Γöé
  367.  Γöé 138 Γöé 8A Γöé ╨Ü Γöé   Γöé 170 Γöé AA Γöé ╨║ Γöé   Γöé 202 Γöé CA Γöé Γò⌐ Γöé   Γöé 234 Γöé EA Γöé ╤è Γöé
  368.  Γöé 139 Γöé 8B Γöé ╨¢ Γöé   Γöé 171 Γöé AB Γöé ╨╗ Γöé   Γöé 203 Γöé CB Γöé Γòª Γöé   Γöé 235 Γöé EB Γöé ╤ï Γöé
  369.  Γöé 140 Γöé 8C Γöé ╨£ Γöé   Γöé 172 Γöé AC Γöé ╨╝ Γöé   Γöé 204 Γöé CC Γöé Γòá Γöé   Γöé 236 Γöé EC Γöé ╤î Γöé
  370.  Γöé 141 Γöé 8D Γöé ╨¥ Γöé   Γöé 173 Γöé AD Γöé ╨╜ Γöé   Γöé 205 Γöé CD Γöé ΓòÉ Γöé   Γöé 237 Γöé ED Γöé ╤ì Γöé
  371.  Γöé 142 Γöé 8E Γöé ╨₧ Γöé   Γöé 174 Γöé AE Γöé ╨╛ Γöé   Γöé 206 Γöé CE Γöé Γò¼ Γöé   Γöé 238 Γöé EE Γöé ╤Ä Γöé
  372.  Γöé 143 Γöé 8F Γöé ╨ƒ Γöé   Γöé 175 Γöé AF Γöé ╨┐ Γöé   Γöé 207 Γöé CF Γöé Γòº Γöé   Γöé 239 Γöé EF Γöé ╤Å Γöé
  373.  Γöé 144 Γöé 90 Γöé ╨á Γöé   Γöé 176 Γöé B0 Γöé Γûæ Γöé   Γöé 208 Γöé D0 Γöé Γò¿ Γöé   Γöé 240 Γöé F0 Γöé ╨ü Γöé
  374.  Γöé 145 Γöé 91 Γöé ╨í Γöé   Γöé 177 Γöé B1 Γöé ΓûÆ Γöé   Γöé 209 Γöé D1 Γöé Γòñ Γöé   Γöé 241 Γöé F1 Γöé ╤æ Γöé
  375.  Γöé 146 Γöé 92 Γöé ╨ó Γöé   Γöé 178 Γöé B2 Γöé Γûô Γöé   Γöé 210 Γöé D2 Γöé ΓòÑ Γöé   Γöé 242 Γöé F2 Γöé ╨ä Γöé
  376.  Γöé 147 Γöé 93 Γöé ╨ú Γöé   Γöé 179 Γöé B3 Γöé Γöé Γöé   Γöé 211 Γöé D3 Γöé ΓòÖ Γöé   Γöé 243 Γöé F3 Γöé ╤ö Γöé
  377.  Γöé 148 Γöé 94 Γöé ╨ñ Γöé   Γöé 180 Γöé B4 Γöé Γöñ Γöé   Γöé 212 Γöé D4 Γöé Γòÿ Γöé   Γöé 244 Γöé F4 Γöé ╨ç Γöé
  378.  Γöé 149 Γöé 95 Γöé ╨Ñ Γöé   Γöé 181 Γöé B5 Γöé Γòí Γöé   Γöé 213 Γöé D5 Γöé ΓòÆ Γöé   Γöé 245 Γöé F5 Γöé ╤ù Γöé
  379.  Γöé 150 Γöé 96 Γöé ╨ª Γöé   Γöé 182 Γöé B6 Γöé Γòó Γöé   Γöé 214 Γöé D6 Γöé Γòô Γöé   Γöé 246 Γöé F6 Γöé ╨Ä Γöé
  380.  Γöé 151 Γöé 97 Γöé ╨º Γöé   Γöé 183 Γöé B7 Γöé Γòû Γöé   Γöé 215 Γöé D7 Γöé Γò½ Γöé   Γöé 247 Γöé F7 Γöé ╤₧ Γöé
  381.  Γöé 152 Γöé 98 Γöé ╨¿ Γöé   Γöé 184 Γöé B8 Γöé Γòò Γöé   Γöé 216 Γöé D8 Γöé Γò¬ Γöé   Γöé 248 Γöé F8 Γöé ┬░ Γöé
  382.  Γöé 153 Γöé 99 Γöé ╨⌐ Γöé   Γöé 185 Γöé B9 Γöé Γòú Γöé   Γöé 217 Γöé D9 Γöé Γöÿ Γöé   Γöé 249 Γöé F9 Γöé ΓêÖ Γöé
  383.  Γöé 154 Γöé 9A Γöé ╨¬ Γöé   Γöé 186 Γöé BA Γöé Γòæ Γöé   Γöé 218 Γöé DA Γöé Γöî Γöé   Γöé 250 Γöé FA Γöé ┬╖ Γöé
  384.  Γöé 155 Γöé 9B Γöé ╨½ Γöé   Γöé 187 Γöé BB Γöé Γòù Γöé   Γöé 219 Γöé DB Γöé Γûê Γöé   Γöé 251 Γöé FB Γöé ΓêÜ Γöé
  385.  Γöé 156 Γöé 9C Γöé ╨¼ Γöé   Γöé 188 Γöé BC Γöé Γò¥ Γöé   Γöé 220 Γöé DC Γöé Γûä Γöé   Γöé 252 Γöé FC Γöé Γäû Γöé
  386.  Γöé 157 Γöé 9D Γöé ╨¡ Γöé   Γöé 189 Γöé BD Γöé Γò£ Γöé   Γöé 221 Γöé DD Γöé Γûî Γöé   Γöé 253 Γöé FD Γöé ┬ñ Γöé
  387.  Γöé 158 Γöé 9E Γöé ╨« Γöé   Γöé 190 Γöé BE Γöé Γò¢ Γöé   Γöé 222 Γöé DE Γöé ΓûÉ Γöé   Γöé 254 Γöé FE Γöé Γûá Γöé
  388.  Γöé 159 Γöé 9F Γöé ╨» Γöé   Γöé 191 Γöé BF Γöé ΓöÉ Γöé   Γöé 223 Γöé DF Γöé ΓûÇ Γöé   Γöé 255 Γöé FF Γöé   Γöé
  389.  ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ   ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÿ
  390.  
  391.  
  392. ΓòÉΓòÉΓòÉ 6. Program Listing ΓòÉΓòÉΓòÉ
  393.  
  394. This is a list of all your programmed functions. The pushbuttons at the bottom 
  395. of this window show your available actions. 
  396.  
  397. You will notice that the programs are not in the usual filename.extension 
  398. format. Instead KATCalc uses a new feature of OS/2 1.2 called extended 
  399. attributes. Extended attributes (EAs) allow a program like KATCalc to keep 
  400. extra information tagged to a file. KATCalc uses EAs to allow you to give your 
  401. program files a longer and more meaningful title. This title may be up to 128 
  402. characters. 
  403.  
  404. If you look in KATCalc's Working directory you will see your programs. They 
  405. have filenames that look like Kxxxxxxx.PGM. If you wish to copy these program 
  406. files to floppy disk for transportation to a machine other than an OS/2 1.2 
  407. machine (for instance DOS, CMS, or UNIX) you will have to use the OS/2 command 
  408. EAUTIL to preserve your titles. This is because OS/2 manages the extended 
  409. attributes of a file in a special, hidden, system file instead of "in" the 
  410. actual data files themselves. The EAUTIL command tells OS/2 to place the EAs 
  411. into a file which you will can copy with the programs. 
  412.  
  413. When when you later place the programs on a target OS/2 computer use EAUTIL 
  414. again to rejoin the files with their respective EAs. 
  415.  
  416. An example of this might be sending your programs to a friend in another state 
  417. over your companies mainframe network. 
  418.  
  419.    1. From your OS/2 PC
  420.           EAUTIL k0000001.pgm k1.ea /p /s
  421.  
  422.    2. Upload the files k0000001.pgm and k1.ea to your host mainframe.
  423.  
  424.    3. Send the two files over the network.
  425.  
  426.    4. Your friend downloads them to his KATCalc subdirectory on his OS/2 PC.
  427.  
  428.    5. Your friend types:
  429.          EAUTIL k0000001.pgm k1.ea /j
  430.  
  431. Your friend can now run the program from the Program Directory in KATCalc. 
  432.  
  433. If you are backing up your programs or transporting them to another OS/2 
  434. machine via floppy disk merely: 
  435.  
  436.    COPY *.pgm a:
  437.  
  438. Since it is an OS/2 to OS/2 migration the EAs will be stored on the floppy by 
  439. the source machine and recognize and read by the target machine. The EAUTIL 
  440. command is not needed. 
  441.  
  442.  
  443. ΓòÉΓòÉΓòÉ 7. Installation of KATCalc ΓòÉΓòÉΓòÉ
  444.  
  445. There is not much extra to do to install KATCalc. Simply add KATCALC.EXE to 
  446. your favorite Group. Be sure to specify a Working directory so the calculator 
  447. can find its help file and programs (KATCALC.HLP and *.PGM). 
  448.  
  449. Where you place the executable and the programs does not matter, but a new 
  450. directory would be the most obvious choice. If you write a large amount of 
  451. programs a separate, dedicated KATCalc subdirectory would be a good 
  452. organization tool. 
  453.  
  454. When you install KATCalc in whatever Group you choose the following is a 
  455. suggested Properties list: 
  456.  
  457.  
  458.  Required
  459.     Program title:         Programmable Calculator
  460.     Path and file name :   e:\utils\calc\katcalc.exe
  461.  
  462.  Optional
  463.     Parameters:
  464.     Working directory:     e:\utils\calc
  465.  
  466.  Program type
  467.     Γûá Presentation Manager
  468.     ΓêÖ Other
  469.  
  470. In the subdirectory e:\utils\calc the following files should be placed: 
  471.  
  472.  o KATCALC.EXE 
  473.  
  474.  o KATCALC.HLP 
  475.  
  476.  o K*.PGM 
  477.  
  478.  KATCalc requires OS/2 Extended Edition version 1.2 or higher.